﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp13
{
    class IronsmithNPC:NPC
    {
        private string weixiu;
        public string Weixiu
        {
            get { return this.weixiu; }
            set { this.weixiu = value; }
        }
        public IronsmithNPC(string name, NPCTypes npctypes, string weixiu) : base(name,npctypes)
        {
            this.weixiu = weixiu;
        }

        public override void Speak()
        {
            Console.WriteLine($"{Name}:我可是神匠哦！{weixiu}");
            Console.WriteLine();
        }
    }
}
